'Weak Dependency Graph [60.0]'
------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost runtime-complexity with respect to
Rules:
{ g(f(x, y), z) -> f(x, g(y, z))
, g(h(x, y), z) -> g(x, f(y, z))
, g(x, h(y, z)) -> h(g(x, y), z)}
Details:
We have computed the following set of weak (innermost) dependency pairs:
{ g^#(f(x, y), z) -> c_0(g^#(y, z))
, g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))
, g^#(x, h(y, z)) -> c_2(g^#(x, y))}
The usable rules are:
{}
The estimated dependency graph contains the following edges:
{g^#(f(x, y), z) -> c_0(g^#(y, z))}
==> {g^#(x, h(y, z)) -> c_2(g^#(x, y))}
{g^#(f(x, y), z) -> c_0(g^#(y, z))}
==> {g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
{g^#(f(x, y), z) -> c_0(g^#(y, z))}
==> {g^#(f(x, y), z) -> c_0(g^#(y, z))}
{g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
==> {g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
{g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
==> {g^#(f(x, y), z) -> c_0(g^#(y, z))}
{g^#(x, h(y, z)) -> c_2(g^#(x, y))}
==> {g^#(x, h(y, z)) -> c_2(g^#(x, y))}
{g^#(x, h(y, z)) -> c_2(g^#(x, y))}
==> {g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
{g^#(x, h(y, z)) -> c_2(g^#(x, y))}
==> {g^#(f(x, y), z) -> c_0(g^#(y, z))}
We consider the following path(s):
1) { g^#(f(x, y), z) -> c_0(g^#(y, z))
, g^#(x, h(y, z)) -> c_2(g^#(x, y))
, g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
The usable rules for this path are empty.
We have oriented the usable rules with the following strongly linear interpretation:
Interpretation Functions:
g(x1, x2) = [0] x1 + [0] x2 + [0]
f(x1, x2) = [0] x1 + [0] x2 + [0]
h(x1, x2) = [0] x1 + [0] x2 + [0]
g^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0(x1) = [0] x1 + [0]
c_1(x1) = [0] x1 + [0]
c_2(x1) = [0] x1 + [0]
We have applied the subprocessor on the resulting DP-problem:
'Weight Gap Principle'
----------------------
Answer: YES(?,O(n^1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules:
{ g^#(f(x, y), z) -> c_0(g^#(y, z))
, g^#(x, h(y, z)) -> c_2(g^#(x, y))
, g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
Weak Rules: {}
Details:
We apply the weight gap principle, strictly orienting the rules
{ g^#(x, h(y, z)) -> c_2(g^#(x, y))
, g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
and weakly orienting the rules
{}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{ g^#(x, h(y, z)) -> c_2(g^#(x, y))
, g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
Details:
Interpretation Functions:
g(x1, x2) = [0] x1 + [0] x2 + [0]
f(x1, x2) = [1] x1 + [1] x2 + [0]
h(x1, x2) = [1] x1 + [1] x2 + [8]
g^#(x1, x2) = [1] x1 + [1] x2 + [1]
c_0(x1) = [1] x1 + [0]
c_1(x1) = [1] x1 + [1]
c_2(x1) = [1] x1 + [0]
Finally we apply the subprocessor
We apply the weight gap principle, strictly orienting the rules
{g^#(f(x, y), z) -> c_0(g^#(y, z))}
and weakly orienting the rules
{ g^#(x, h(y, z)) -> c_2(g^#(x, y))
, g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{g^#(f(x, y), z) -> c_0(g^#(y, z))}
Details:
Interpretation Functions:
g(x1, x2) = [0] x1 + [0] x2 + [0]
f(x1, x2) = [1] x1 + [1] x2 + [8]
h(x1, x2) = [1] x1 + [1] x2 + [12]
g^#(x1, x2) = [1] x1 + [1] x2 + [1]
c_0(x1) = [1] x1 + [3]
c_1(x1) = [1] x1 + [1]
c_2(x1) = [1] x1 + [0]
Finally we apply the subprocessor
'Empty TRS'
-----------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {}
Weak Rules:
{ g^#(f(x, y), z) -> c_0(g^#(y, z))
, g^#(x, h(y, z)) -> c_2(g^#(x, y))
, g^#(h(x, y), z) -> c_1(g^#(x, f(y, z)))}
Details:
The given problem does not contain any strict rules